package fr.upmc.tps.mdoc.domain;

import java.util.List;

import fr.upmc.tps.mdoc.models.Entreprise;
import fr.upmc.tps.mdoc.models.IContact;

public interface IDAOContact {
	
	void addContact(IContact contactSpring);
	
	List<IContact> getContacts();
	
	IContact getContact(long contactId);
	
	boolean updateContact(IContact contact);
	
	boolean deleteContact(IContact contact);
	
	Entreprise getEntreprise(long contactId);
	
	boolean deleteEntreprise(final long contactId);

	public abstract List<IContact> getContacts(final String name);

}
